import {request} from './request'

export function _getCateGory(){
  return request({
      url:'/category'
  })
}

export function _getSubCategory(maitKey){
  return request({
      url:'/subcategory',
      params:{
        maitKey
      }
  })
}

export function _getCategoryDetail(miniWallkey, type) {
  return request({
    url: '/subcategory/detail',
    params: {
      miniWallkey,
      type
    }
  })
}
